<html>
<head>
  <link rel="stylesheet" type="text/css" href="jasmine/jasmine.css">

  <!-- i18n -->
  <script type="text/javascript" src="i18n.js"></script>
  <script type="text/javascript" src="../../../target/messages-tests.js"></script>
  
  <script type="text/javascript" src="../../main/resources/handlebars.runtime.js"></script>
  <script type="text/javascript" src="../../../target/helpers.js"></script>
  <script type="text/javascript" src="../../../target/helpers-i18njs.js"></script>

  <script type="text/javascript" src="jasmine/jasmine.js"></script>
  <script type="text/javascript" src="jasmine/jasmine-html.js"></script>

  <script type="text/javascript" src="helpers-tests.js"></script>
</head>
<body>
  <script type="text/javascript">
    (function() {
      var jasmineEnv = jasmine.getEnv();
      jasmineEnv.updateInterval = 1000;

      var htmlReporter = new jasmine.HtmlReporter();

      jasmineEnv.addReporter(htmlReporter);

      jasmineEnv.specFilter = function(spec) {
        return htmlReporter.specFilter(spec);
      };

      var currentWindowOnload = window.onload;

      window.onload = function() {
        if (currentWindowOnload) {
          currentWindowOnload();
        }
        execJasmine();
      };

      function execJasmine() {
        jasmineEnv.execute();
      }

    })();
  </script>
</body>
</html>